#ifndef PLAYSCENE_H
#define PLAYSCENE_H

#include <QMainWindow>
#include "mycoin.h"

class PlayScene : public QMainWindow
{
    Q_OBJECT
public:
    explicit PlayScene(QWidget *parent = nullptr);

    PlayScene(int index);

    //记录当前本关的关卡号

    int levelIndex;

    //重写绘图事件
    void paintEvent(QPaintEvent *event);

    //游戏二维数组，维护金币银币标志
    int gameArray[4][4];

    //金币数组
    MyCoin * coinBtn[4][4];

    //结束标志
    bool isWin;
signals:

    void chooseSceneBack();

public slots:
};

#endif // PLAYSCENE_H
